package com.otoe.dilidilivid.data.entity;

import com.bin.david.form.annotation.SmartColumn;
import com.bin.david.form.annotation.SmartTable;

import java.io.Serializable;
import java.util.Date;
@SmartTable(name="USERS",count = true)
public class User implements Serializable {
    //private String strId;
    @SmartColumn(id =2,name = "用户名",autoCount = true)
    private String U_name;
    @SmartColumn(id=3,name = "用户密码",autoCount = true)
    private String Password;
    @SmartColumn(id =1,name = "用户ID",autoCount = true)
    private int U_id;
    private String Account_status;
    private Date Recommend_date;

    public User(int u_id, String u_name, String password, String account_status, Date recommend_date) {
        U_id = u_id;
        U_name = u_name;
        Password = password;
        Account_status = account_status;
        Recommend_date = recommend_date;
    }

    public User() {
    }


  /*  public String getStrId() {
        return strId;
    }*/

/*    public void setStrId(String strId) {
        this.strId = strId;
    }*/

    public int getU_id() {
        return U_id;
    }

    public void setU_id(int u_id) {
        U_id = u_id;
       // this.strId=u_id+"";
    }

    public String getU_name() {
        return U_name;
    }

    public void setU_name(String u_name) {
        U_name = u_name;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String password) {
        Password = password;
    }

    public String getAccount_status() {
        return Account_status;
    }

    public void setAccount_status(String account_status) {
        Account_status = account_status;
    }

    public Date getRecommend_date() {
        return Recommend_date;
    }

    public void setRecommend_date(Date recommend_date) {
        Recommend_date = recommend_date;
    }
}